<?php
/**
 * Mine Block
 * BlockArrayArray view
 *
 * @author	Emre Hasegeli <hasegeli@itu.edu.tr>
 * @license	New BSD License
 */ ?>

<table border="2" >
	<?php foreach($BlockArrayArray as $blockArray): ?>
	<tr >
		<?php foreach($blockArray as $block): ?>
		<td ><?php echo $block->GetCost() ?>
		</td>
		<?php endforeach ?>
	</tr>
	<?php endforeach ?>
</table>

<table border="2" >
	<?php foreach($BlockArrayArray as $blockArray): ?>
	<tr >
		<?php foreach($blockArray as $block): ?>
		<td ><?php echo $block->GetCost() ?> + <?php echo $block->GetUnderBlockCost() ?>
		</td>
		<?php endforeach ?>
	</tr>
	<?php endforeach ?>
</table>

<table border="2" >
	<?php foreach($BlockArrayArray as $blockArray): ?>
	<tr >
		<?php foreach($blockArray as $block): ?>
		<td >
			<img src="<?php echo $block->GetShowedWay() ?>.png" alt="<?php echo $block->GetShowedWay() ?>" />
			<?php echo $block->GetTotalCost() ?>
		</td>
		<?php endforeach ?>
	</tr>
	<?php endforeach ?>
</table>
